Method and apparatus for downhole fluid characterization using flexural mechanical resonators

ABSTRACT

The present invention provides a downhole method and apparatus using a flexural mechanical resonator, for example, a tuning fork to provide real-time direct measurements and estimates of the viscosity, density and dielectric constant of formation fluid or filtrate in a hydrocarbon producing well. The present invention additionally provides a method and apparatus for monitoring cleanup from a leveling off of viscosity or density over time, measuring or estimating bubble point for formation fluid, measuring or estimating dew point for formation fluid, and determining the onset of asphaltene precipitation. The present invention also provides for intercalibration of plural pressure gauges used to determine a pressure differential downhole.

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] The patent application claims priority from U.S. Patent application serial No. 60/291,136 filed on May 15, 2001 entitled “Method and Apparatus for Downhole Fluid Characterization Using Flexural Mechanical Resonators” by Rocco DiFoggio.

BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention

[0003] The present invention relates to the field of downhole fluid analysis in hydrocarbon producing wells. More particularly, the present invention relates to a method and apparatus for determining fluid density, viscosity, and other parameters using a flexural mechanical resonator downhole in a borehole during monitoring while drilling or wire line operations.

[0004] 2. Background of the Related Art

[0005] There is considerable interest in obtaining density and viscosity for formation fluids downhole at reservoir conditions of extreme temperature and pressure during formation sampling, production or drilling. Numerous technologies have been employed toward the end of measuring density and viscosity of liquids downhole. U.S. Pat. No. 6,182,499 discloses a system and method for characterization of materials and combinatorial libraries with mechanical oscillators. U.S. Pat. No. 5,734,098 discloses a method for monitoring and controlling chemical treatment of petroleum, petrochemical and processes with on-line quartz crystal microbalance sensors. The '098 method utilizes thickness shear mode (TSM) resonators, which simultaneously measure mass deposition and fluid properties such as viscosity and or density of a fluid. U.S. Pat. No. 6,176,323 discloses drilling systems with sensors for determining properties of drilling fluid downhole. The '323 patent discloses a plurality of pressure sensors at different depths to determine the fluid gradient.

[0006] U.S. Pat. No. 5,741,962 discloses a method and apparatus for analyzing a formation fluid using acoustic measurements. The '962 patent device acoustically determines density and compressibility from acoustic impedance and sound speed. U.S. Pat. No. 5,622,223 discloses a method and apparatus for formation fluid samples utilizing differential pressure measurements. The '223 patent discloses an apparatus that provides two pressure gauges at different depths to determine density from a fluid pressure gradient. U.S. Pat. No. 5,006,845 uses differential fluid pressure at two depths to determine fluid density. U.S. Pat. No. 5,361,632 discloses a method and apparatus for determining multiphase hold up fractions using a gradiometer and a densiometer to provide a pressure gradient to determine fluid density. U.S. Pat. No. 5,204,529 discloses a method and apparatus for measuring borehole fluid density, formation density and or borehole diameter using back-scattered gamma radiation to determine fluid density.

[0007] Flexural mechanical resonators have used in the laboratory has for rapid characterization of large numbers of fluid samples. See L. F. Matsiev, Application of Flexural Mechanical Resonator to High Throughput Liquid Characterization, 2000 IEEE International Ultrasonics Symposium, Oct. 22-25, 2000 San Juan, Puerto Rico, incorporated herein by reference in its entirety; L. F. Matsiev, Application of Flexural Mechanical Resonator to High Throughput Liquid Characterization, 1999 IEEE International Ultrasonics Symposium, October 17-20, Lake Tahoe, Nev., incorporated herein by reference in its entirety; L. F. Matsiev, Application of Flexural Mechanical Resonator to High Throughput Liquid Characterization, 1998 IEEE International Ultrasonics Symposium, Oct. 5-8, 1998, Sendai, Miyagi, Japan, incorporated herein by reference in its entirety.

[0008] There is, however, no method or apparatus for measuring viscosity in the downhole environment. Moreover, the inventor is aware of no known method or apparatus utilizing a flexural mechanical resonator to determine density, viscosity or other fluid properties in a downhole environment. Thus, there is a need for a method and apparatus utilizing a flexural mechanical resonator to determine density, viscosity or other fluid properties in a downhole environment.

SUMMARY OF THE INVENTION

[0009] The present invention provides a downhole method and apparatus using a mechanical resonator, for example, a tuning fork to provide real-time direct measurements and estimates of the viscosity, density and dielectric constant of formation fluid or filtrate in a hydrocarbon producing well. The present invention additionally provides a method and apparatus for 1) monitoring cleanup from a leveling off of viscosity or density over time, 2) measuring or estimating bubble point for formation fluid or filtrate, 3) measuring or estimating dew point for formation fluid or filtrate, and 4) the onset of asphaltene precipitation. The present invention also provides for intercalibration of a plurality of pressure gauges used to determine a pressure differential downhole. Each of these applications of the present invention contributes to the commercial value of downhole monitoring while drilling and wire line tools, such as the Baker Hughes/Baker Atlas Reservation Characterization Instrument (RCI). Thus, the present invention provides direct viscosity measurement capability that is currently unavailable in the oil services industry.

[0010] Known downhole tools can only measure the mobility or the ratio of permeability to viscosity. Thus, permeability and viscosity are not independently measured. The present invention enables the direct measurement of viscosity so that permeability can be determined from the measured mobility.

[0011] In one aspect of the invention, a downhole tool for determining the properties of a formation fluid sample is provided comprising a tool deployed in a well bore formed in an adjacent formation, the tool communicating and interacting with a quantity of downhole fluid, a mechanical resonator attached to the tool immersed in the fluid sample, a controller for actuating the mechanical resonator; and a monitor for receiving a response from the mechanical resonator to actuation of the mechanical resonator in the fluid. In another aspect of the invention a tool is provided further comprising a processor for determining a characteristic of a fluid sample from the response of the mechanical resonator. In another aspect of the invention a tool is provided wherein at least one of density, viscosity or dielectric constant are determined for a formation sample. In another aspect of the invention a tool is provided wherein the characteristic of said fluid is used to determine the dew point of said fluid. In another aspect of the invention a tool is provided wherein the characteristic of said fluid is used to determine the bubble point of a fluid sample. In another aspect of the invention a tool is provided where in the characteristic of the fluid is used to monitor the cleanup over time while pumping. In another aspect of the invention a tool is provided to determine the dew point of a down hole formation fluid sample. In another aspect of the invention a tool is provided wherein the characteristic of the fluid sample is used to determine the onset of asphaltene precipitation. In another aspect of the invention a tool is provided wherein the characteristic of the fluid sample is used to estimate NMR decay times T1 and T2, which are inversely correlated to viscosity. In another aspect of the invention a tool is provided further comprising a plurality of pressure gauges that are a known vertical separation distance apart in the fluid, wherein the mechanical resonator response is used to measure the density of the fluid to calculate the correct pressure difference for the amount of vertical separation. In another aspect of the invention, the mechanical resonator is actuated electrically. The resonator is made of quartz and has metallic electrodes deposited on two or more of the resonator faces. The electrodes are epoxy coated to prevent corrosion of the contacts. In another aspect of the invention, the mechanical resonator is placed in a cavity outside the direct flow path to protect the tuning fork from damage from debris passing in the sample flow path.

BRIEF DESCRIPTION OF THE DRAWINGS

[0012]FIG. 1 is an illustration of a model for an equivalent circuit for a Thickness-shear mode (TSM) resonator complex impedance in a liquid environment;

[0013]FIG. 2 is an illustration of resonator connections in a preferred embodiment;

[0014]FIG. 3A is an illustration of typical frequency response of a conventional TSM resonator in various solvents;

[0015]FIG. 3B is an illustration of typical frequency response of a tuning fork in various solvents;

[0016]FIG. 4A is an illustration of values for delta AL plotted versus solvent density and square root of the solvent viscosity density product;

[0017]FIG. 4B is an illustration of values for AZ plotted versus solvent density and square root of the solvent viscosity density product;

[0018]FIG. 5 is a schematic diagram of a preferred embodiment of the present invention deployed on a wire line in a downhole environment;

[0019]FIG. 6 is a schematic diagram of a preferred embodiment of the present invention deployed on a drill string in a monitoring while drilling environment;

[0020]FIG. 7 is a schematic diagram of a preferred embodiment of the present invention deployed on a flexible tubing in a downhole environment;

[0021]FIG. 8 is a schematic diagram of a preferred embodiment of the present invention as deployed in a wireline downhole environment showing a cross section of a wireline formation tester tool;

[0022]FIG. 9A is a schematic diagram of a preferred embodiment of the present invention illustrating a tuning fork as deployed in a fluid flow pipe;

[0023]FIG. 9B is a schematic diagram of an alternative embodiment of the present invention illustrating a tuning fork as deployed in a recess formed in fluid flow pipe to remove the tuning fork from the majority of the turbulence of the fluid flowing in the flow path but still in contact with the fluid flowing in the flow pipe;

[0024]FIG. 10 is a schematic diagram of a preferred embodiment of the present invention showing protection baffles;

[0025]FIG. 11 is a schematic diagram of an alternative embodiment of the present invention showing an alternative embodiment of the protection baffles surrounding mechanical resonator;

[0026]FIG. 12 is a schematic diagram of an alternative embodiment of the present invention showing a sintered metal cap or screen protecting mechanical resonator; and

[0027]FIG. 13 is a schematic of the preferred embodiment showing two pressure gauges for intercalibration.

DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT

[0028] The inventors are aware of no method or apparatus for directly measuring density, viscosity or dielectric constant downhole using a flexural mechanical resonator. The present invention provides a downhole method and apparatus using a mechanical resonator, preferably, a tuning fork to provide real-time direct measurements and estimates of the viscosity, density and dielectric constant for formation fluid or filtrate in a hydrocarbon producing well. The present invention additionally provides a method and apparatus for: 1) monitoring cleanup from a leveling off of viscosity or density over time as the fluid under investigation transitions from contaminated to substantially pure formation fluid; 2) measuring or estimating bubble point for formation fluid; 3) measuring or estimating dew point for formation fluid; and 4) the onset of asphaltene precipitation. Each of these applications contribute to the commercial value of downhole monitoring while drilling and wire line tools, such as the Baker Hughes/Baker Atlas Reservation Characterization Instrument.

[0029] There currently is no method or apparatus for directly measuring viscosity in the down hole environment, thus, the present invention provides measurement capability that is currently unavailable in the oil services industry.

[0030] The Matsiev reference describes the application of flexural mechanical resonators such as tuning forks, benders, etc. to liquid characterization. Additional complex electrical impedance produced by a liquid environment to such resonators is also described. Matsiev shows that this additional impedance can be represented by the sum of two terms: one that is proportional to liquid density and a second one that is proportional to the square root the of viscosity density product. This impedance model is universally applicable to any resonator type that directly displaces liquid and has size much smaller than the acoustic wavelength in a liquid at its operation frequency. Using this model it is possible to separately extract liquid viscosity and density values from the flexural resonator frequency response, while conventional TSM resonators can measure only the viscosity density product.

[0031] Thickness-shear mode (TSM) quartz resonators have been applied to the determination of mechanical properties of liquids for several decades. Oscillation of the TSM resonator surface exposed to liquid along a crystal-liquid interface produces a decaying viscous shear wave in liquid. A simple relationship between the impedance of the TSM resonator change caused by contact with a liquid and the viscosity density product of liquid has been derived using a simple one-dimensional mathematical model and is supported experimentally. It was found that the TSM resonator complex impedance in a liquid environment could be represented by equivalent circuit shown on FIG. 1.

[0032] Equivalent parameters C_(s), R_(o), L₀ represent respectively mechanical compliance, loss and inertia of the resonator in vacuum. Additional impedance Z(ω) produced by surrounding liquid is given by (ωρη)^(1/2) (1+i) per unit interface area, where ω is the operation frequency, ρ is the liquid density, η is the viscosity of the liquid. Parallel capacitance C_(η), an electrical capacitance measured between the resonator electrodes, is also affected by electrical properties of surrounding liquid.

[0033] TSM quartz resonators have been successfully used for characterization of liquids. Unfortunately, quartz TSM resonators suffer from several serious drawbacks: 1) It is necessary to make additional experiments to measure liquid density and viscosity separately; and 2) viscosity and other properties of even low molecular weight liquids depend on frequency. The operation frequency of commercially available TSM resonators usually ranges from one to several tens of megahertz so TSM resonators measure the high-frequency response the fluid.

[0034] In practice, low-frequency response is usually more interesting. For example, most lubricants work under low-frequency shear stress. In the case of polymer solutions, TSM resonator response is virtually independent of polymer molecular weight and depends only on polymer concentration. All relaxation times from the polymer chain relaxation spectrum are usually much longer than the circle of viscous stress applied by TSM resonator, so the TSM resonator reacts as if it were in a solution of “solid” coils; almost all types of molecular motion seem frozen.

[0035] To avoid such problems low-frequency piezoelectric resonators such as bar benders, disk benders, cantilevers, tuning forks, micro-machined membrane and torsion resonators can be used. A wide variety of such resonators with operation frequency from hundreds of hertz up to few MHz are commercially available.

[0036] There are a variety of ways to measure resonator response in a liquid environment. Matsiev used an HP8751A network analyzer to sweep frequencies and measure response when the resonator was exposed to a variety of organic solvents. The equivalent impedance of tuning forks is quite high, so the use of high impedance probe is recommended. In a preferred embodiment an exciter circuit is provide and the resonator is connected as shown on FIG. 2.

[0037] The resonator impedance and probe amplifier known input impedance form frequency dependent voltage divider. The frequency dependence of the normalized absolute value of the probe input voltage was recorded while resonator was submerged in various organic solvents. Typical frequency responses of conventional 8 MHz TSM resonator and 32.768 kHz tuning fork in various solvents are shown on FIGS. 3A and 3B respectively.

[0038] It is evident that the response of a tuning fork resonator is more strongly affected by the properties of the liquid than the response of a TSM resonator. Thus the tuning fork resonator thus provides much better resolution in the determination of liquid properties.

[0039] The equivalent circuit from FIG. 1 also describes the impedance of the flexural resonator with a modification for the additional impedance Z(ω). Despite the complexity of such a 3D problem it is possible to state that the flow is in effect a viscous flow of an incompressible liquid. Oscillation velocity at the interfaces of an oscillating flexural resonator does have a component normal to the interface, so some compression should occur. At the same time, the size of flexural resonators is much less than a wavelength of the compression wave in surrounding liquid at operational frequency. Therefore low-frequency resonators are, in general, quite ineffective exciters of compression waves regardless of the oscillation mode.

[0040] For viscous incompressible flow the vorticity of the velocity field decays with the distance from the oscillating body in the same manner as the velocity decays with the distance from TSM resonator. This means that some component of the additional impedance of a flexural resonator should be proportional to (ωρη)^(1/2) (1+i) as is the case for the TSM resonator, with some unknown coefficient or geometry factor, which itself depends upon the resonator geometry and oscillation mode.

[0041] In contrast to TSM resonators flexural resonators directly displace liquid. The virtual hydrodynamic mass attached to a body moving in a liquid due to direct displacement depends only on the body geometry and liquid density. It should manifest itself as an additional inductive component of the equivalent impedance proportional to liquid density.

[0042] That additional impedance of a flexural resonator is represented by the following relationship: Z(ω)=Aiωρ+B{square root}{square root over (ωρη)}(1+i), where ω is the operation frequency, ρ is the liquid density, η is the liquid viscosity, A and B are the geometry factors that depend only on the resonator geometry and mode of oscillation. Alternatively, this relationship can be rewritten as: Z(ω)=iωΔL +ΔZ{square root}{square root over (ω)}(1+i), where ΔL=Aρ and ΔAZ =B{square root}{square root over (ρη)} are frequency independent parameters, which can be easily calculated by fitting experimental data using, for example, the least squares method.

[0043] Acquired data on the frequency response of the 32.768 kHz tuning fork resonator for a variety of common organic solvents generating a family of curves, are shown in FIG. 3. Values for ΔL and ΔZ were determined by fitting the frequency response data to the proposed mathematical model. In general the model was found to be in excellent agreement with the data; the residuals could be entirely attributed to electronic noise rather than the difference between the model and the data. Values for ΔL and ΔZ plotted versus the solvent density and square root of the solvent viscosity density product, respectively, are shown in FIG. 4. Density and viscosity values were taken from literature (CRC, Aldrich). The standard deviation for ordinate values on both plots calculated by fitting software is less than the size of the data point marker.

[0044] In practice, low-frequency response is usually more interesting. For example, most lubricants work under low-frequency shear stress. In the case of polymer solutions, TSM resonator response is virtually independent of polymer molecular weight and depends only on polymer concentration. All relaxation times from the polymer chain relaxation spectrum are usually much longer than the circle of viscous stress applied by TSM resonator, so the TSM resonator reacts as if it were in a solution of “solid” coils; almost all types of molecular motion seem frozen.

[0045] To avoid such problems low-frequency piezoelectric resonators such as bar benders, disk benders, cantilevers, tuning forks, micro-machined membrane and torsion resonators can be used. A wide variety of such resonators with operation frequency from hundreds of hertz up to few MHz are commercially available.

[0046] TSM resonators do not move fluid substantially and thus do not separately yield density and viscosity of a fluid. Flexural mechanical resonators respond to the both the density and viscosity of a fluid into which they are immersed. Symyx Technologies Incorporated of Santa Clara, Calif. has developed a model for a miniature tuning fork resonator, which enables separate determination of density and viscosity of fluid, rather than merely the product of these two properties. TSM resonators can only determine the product of density and viscosity and thus viscosity or density could not be independently determined. The present invention provides a tuning fork or flexural resonator, which is excited, monitored and process to separately determine not only the density and viscosity of a fluid, but also the dielectric constant of a fluid. The preferred resonator tuning forks are very small, approximately 2 mm×5 mm, are inexpensive and have no macroscopically moving parts. The resonator tuning forks can operate at elevated temperature and pressure and enable a more accurate method of determining viscosity and other fluid properties downhole than other known methods. The tuning forks are provided by Symyx and are made of quartz with silver or gold electrodes. Symyx states that the typical accuracy for determination is ±0.01% for density, ±1.0% for viscosity, and ±0.02% for dielectric constant. In a preferred embodiment, the electrodes are connected to wires. The connections between the wires and electrodes are covered with epoxy to prevent corrosion of the connections to the electrodes.

[0047] The most common method for determining downhole fluid density is determination of the pressure gradient. Density is proportional to the slope of a plot of pressure versus depth over a depth interval of 50-150 feet. Generally, the tool is moved from point to point in the well so that the same pressure gauge is used to make all the pressure readings. It is hard to keep two different pressure gauges inter-calibrated within a few tenths of a PSI at high temperatures and pressures.

[0048] U.S. Pat. No. 5,622,223 discloses the use of differential pressure gauges spaced closely together so that to fit within the length of a tool and thus does not require relocation of the tool to make a pressure gradient measurement. It is not clear how the two pressure gauges are inter-calibrated. Inter-calibration could be attempted utilizing the known density of the drilling mud and its pressure gradient as the calibrator. A density measurement can also be made from the acoustic reflection intensity at the interface of an unknown fluid and a known solid as disclosed in U.S. Pat. No. 5,741,962. Density can also be measured using gamma rays as disclosed in U.S. Pat. No. 5,204,529.

[0049] The measurement of viscosity downhole can be estimated form the well-known inverse relationship between Nuclear Magnetic Resonance (NMR) decay time and viscosity. Alternatively, any differential pressure gauge sensitive enough to determine density from a short-spacing (10-20 feet) pressure gradient should be sufficiently sensitive to determine viscosity from the pressure drop versus flow rate in a wire line formation tester. The present invention enables making an accurate differential pressure gauge based on the present invention enabling performing inter-calibration between two pressure gauges.

[0050] The flexural mechanical oscillator generates a signal which is utilized to determine formation fluid properties and transmits the signal to a processor or intelligent completion system (ICE) 30 for receiving, storing and processing the signal or combination of signals.

[0051]FIG. 5 is a schematic diagram of a preferred embodiment of the present invention deployed on a wire line in a downhole environment. As shown in FIG. 5, a downhole tool 10 containing a mechanical resonator 410 is deployed in a borehole 14. The borehole is formed in formation 16. Tool 10 is deployed via a wireline 12. Data from the tool 10 is communicated to the surface to a computer processor 20 with memory inside of an intelligent completion system 30. FIG. 6 is a schematic diagram of a preferred embodiment of the present invention deployed on a drill string 15 in a monitoring while drilling environment. FIG. 7 is a schematic diagram of a preferred embodiment of the present invention deployed on a flexible tubing 13 in a downhole environment.

[0052]FIG. 8 is a schematic diagram of a preferred embodiment of the present invention as deployed in a wireline downhole environment showing a cross section of a wireline formation tester tool. As shown in FIG. 8, tool 416 is deployed in a borehole 420 filled with borehole fluid. The tool 416 is positioned in the borehole by backup support arms 416. A packer with a snorkel 418 contacts the borehole wall for extracting formation fluid from the formation 414. Tool 416 contains tuning fork 410 disposed in flowline 426. Any type of flexural mechanical oscillator is suitable for deployment in the tool of the present invention. The mechanical oscillator, shown in FIG. 8 as a tuning fork is excited by a electric current applied to its electrodes and monitored to determine density, viscosity and dielectric coefficient of the formation fluid. The electronics for exciting and monitoring the flexural mechanical resonator as shown in the Matsiev references are housed in the tool 10. Pump 412 pumps formation fluid from formation 414 into flowline 426. Formation fluid travels through flow line 424 in into valve 420 which directs the formation fluid to line 422 to save the fluid in sample tanks or to line 418 where the formation fluid exits to the borehole. The tuning fork is excited and its response in the presence of a formation fluid sample is utilized to determine fluid density, viscosity and dielectric coefficient while fluid is pumped by pump 412 or while the fluid is static, that is, when pump 412 is stopped.

[0053]FIG. 9A is a schematic diagram of a preferred embodiment of the present invention illustrating a tuning fork 412 with tines 411 deployed in a fluid flow pipe 426. FIG. 9B is an alternative embodiment of the present invention in which the turning fork is recessed out of the flow pipe into a recess, cavity or clean out 428. The location of the tuning fork in the recess, out of the flow pipe in the recess helps prevent abrasion or damage to the tuning fork from turbulence or sand and other debris present in the formation fluid sample as the formation fluid flows in the flow pipe.

[0054]FIG. 10 is a schematic diagram of a preferred embodiment of the present invention showing protection baffles 413 surrounding tuning fork tines 411 inside of flow pipe 426. FIG. 11 is a schematic diagram of an alternative embodiment of the present invention showing an alternative embodiment of the protection baffles 415 surrounding mechanical resonator tuning fork tines 411 inside of flow pipe 426. FIG. 12 is a schematic diagram of an alternative embodiment of the present invention showing a sintered metal cap 417 protecting mechanical resonator, tuning fork tines 411 inside of fluid flow pipe 426. Sintered metal caps are available from Mott Corporation, 84 Spring Lane, Farmington, Conn. 06032.

[0055] Turning now to FIG. 13, FIG. 13 is a schematic diagram of a two pressure gauges 91 and 92 provided in a down hole tool having a mechanical resonator 410, in this case a tuning form 410 for inter-calibration between pressure gauges 91 and 92.

[0056] As shown in FIG. 8, the present invention can be utilized in flowing fluid, as when a sample of well bore fluid or formation fluid is pumped through the tool and into the well bore. In this scenario, where fluid is pumped through the tool, the mechanical resonator, which can be a bar bender, disk bender, cantilever, tuning fork, micro-machined membrane or torsion resonator, is immersed in the flowing fluid and used to determine the density, viscosity and dielectric constant for the fluid flowing in the tool. In a preferred embodiment, baffles are provided in the flow path to protect the mechanical resonator from the physical stress of the flowing fluid. A porous, sintered metal cap or a screen can also be used to cover the mechanical oscillator and protect it from pressure pulses and particles of sand or other solids. As shown in FIG. 9B, in an alternative embodiment, the tuning fork is placed out of the flow path in a recess 428 to protect the tuning fork from harm from the turbulence and debris associated with the fluid sample flowing in the flow pipe.

[0057] In a second scenario of operation the fluid sample flowing in the tool is stopped from flowing by stopping the pump 412 while the mechanical resonator is immersed in the fluid and used to determine the density, viscosity and dielectric constant for the static fluid trapped in the tool.

[0058] Samples are taken from the formation by pumping fluid from the formation into a sample cell. Filtrate from the borehole normally invades the formation and consequently is typically present in formation fluid when a sample is drawn from the formation. As formation fluid is pumped from the formation the amount of filtrate in the fluid pumped from the formation diminishes over time until the sample reaches its lowest level of contamination. This process of pumping to remove sample contamination is referred to as sample clean up. In a preferred embodiment, the present invention indicates that a formation fluid sample clean up is complete when the viscosity or density has leveled off or become asymptotic within the resolution of the measurement of the tool for a period of twenty minutes to one hour. A density or viscosity measurement is also compared to a historical measure of viscosity or density for a particular formation and or depth in determining when a sample is cleaned up. That is, when a sample reaches a particular level or value for density and or viscosity in accordance with a historical value for viscosity and or density for the formation and depth the sample is determined to have been cleaned up to have reached a desired level of purity.

[0059] The bubble point pressure for a sample is indicated by that pressure at which the measured viscosity for formation fluid sample decreases abruptly. The dew point is indicated by an abrupt increase in viscosity of a formation fluid sample in a gaseous state. The asphaltene precipitation pressure is that pressure at which the viscosity decreases abruptly.

[0060] The present invention also enables calibration of a plurality of pressure gauges at depth. Pressure gauges are typically very sensitive to changes but not accurate as to absolute pressure. That is, a pressure gauge can accurately determine a change of 0.1 PSI but not capable of accurately determining whether the pressure changed from 1000.0 to 1000.1 PSI or 1002.0 to 1002.1 PSI. That is, the precision is better than the accuracy in the pressure gauges. In a preferred embodiment, the present invention enables determination of the absolute pressure difference between pressure gauges in a downhole tool. The present invention enables determination of the density of the fluid. Since the distance between the downhole pressure gauges is known, one can determine what the pressure difference or offset should be between the pressure gauges at a particular pressure and temperature. This calibration value or offset is added to or subtracted from the two pressure gauge readings. The calibration value is calculated in a nonconductive fluid, such as oil and can be applied when measuring pressure differential in conductive fluid, such as water where the tuning fork will not measure density or in the nonconductive fluid.

[0061] In a preferred embodiment, the dielectric constant is calculated for a formation fluid sample as discussed in the Matsiev references. The present invention utilizes the Matsiev calculations to calculate density and viscosity. The present invention provides a chemometric equation derived from a training set of known properties to estimate formation fluid parameters. The present invention provides a neural network derived from a training set of known properties to estimate formation fluid parameters. For example, from a measured viscosity, a chemometric equation can be used to estimate NMR properties T₁ and T₂ for a sample to improve an NMR measurement made independently in the tool. The chemometric equation is derived from a training set of samples for which the viscosity and NMR T₁ and T₂ are known. Any soft modeling technique is applicable with the present invention.

[0062] The present invention is utilized to provide density, viscosity, dielectric coefficient and other measured or derived information available from the tool of the present invention to a processor or intelligent completion system (ICS) at the surface. The ICS is a system for the remote, intervention less actuation of downhole completion equipment has been developed to support the ongoing need for operators to lower costs and increase or preserve the value of the reservoir. Such a system is described in The Oil and Gas Journal, Oct. 14, 1996. These needs are particularly important in offshore environments where well intervention costs are significantly higher than those performed onshore. For example, traditional methods for setting a production packer employ coiled tubing or slick line to run a tubing plug. The new system provides a safe, reliable and more cost efficient alternative to this method because it simply transmits acoustic pulses through the contents of tubulars to actuate one or more completion or service tools remotely in any desired sequence. The system not only decreases the sampling time and the time the packer is set, and also extends the envelope for application to deep, extended-reach offshore environments. Since the system eliminates the need to circulate a ball downhole to set service tools during sand control operations, the operator can maintain constant hydrostatic pressure on the formation. This capability decreases completion time, intervention risk, the possibility of formation collapse against the completion string, the possibility of losing the filter cake placed against the formation, and fluid loss to the formation. To achieve the goals required for this system, three project targets were addressed: a reliable means of wireless communication, a surface control system, and a downhole power unit for completion device actuation. The design and capabilities of the new surface-operated, non-intervention completion system will facilitate economic completions in situations where more complex systems could not be justified, thus increasing the scope of application for ‘intelligent well’ technology.

[0063] At times called “SmartWells,” these completion systems enable oil and gas companies to study and control individual zones without well intervention. This can dramatically lower operating expenditures by reducing downtime. Also, it can allow enhanced hydrocarbon recovery via improved reservoir management. ICSs enable the operator to produce, monitor and control the production of hydrocarbons through remotely operated completion systems. These systems are developed with techniques that allow the well architecture to be reconfigured at will and real-time data to be acquired without any well intervention.

[0064] The operator, located at the surface and having access to over ride the processor/ICE 30 may make his own decisions and issue commands concerning well completion based on the measurements provided by the present invention. The present invention may also provide data during production logging to determine the nature of fluid coming through a perforation in the well bore, for example, the water and oil ratio.

[0065] The foregoing example is for purposes of example only and is not intended to limit the scope of the invention which is defined by the following claims. 

What is claimed is:
 1. A downhole tool for determining the properties of a fluid comprising: a sonde deployed in a well bore formed in an adjacent formation, the sonde communicating with a sample of fluid; a flexural mechanical resonator associated with the sonde immersed in the sample of fluid; a controller for actuating the flexural mechanical resonator; and a monitor for receiving a response from the flexural mechanical resonator.
 2. The downhole tool of claim 1, further comprising: A processor for calculating a parameter of interest for the formation fluid sample.
 3. The downhole tool of claim 1, further comprising: A chemometric equation for calculating a parameter of interest for the formation fluid sample.
 4. The downhole tool of claim 1, further comprising: A neural network for determining a parameter of interest for the formation fluid sample.
 5. The downhole tool of claim 1, further comprising: a recess associated with the sonde for holding and protecting the flexural mechanical resonator.
 6. The downhole tool of claim 1, wherein the flexural resonator comprises at least one of a bar bender, disk bender, cantilever, tuning fork, micro-machined membrane and a torsion resonator.
 7. The downhole tool of claim 1, further comprising: a set of electrodes on the flexural resonator; wires connected to the electrodes; and epoxy covering the connection between the wires and the electrodes to stop corrosion.
 8. A method for determining a parameter of interest for a formation fluid sample comprising: deploying a sonde in a borehole adjacent a formation; exciting a flexural mechanical resonator in a fluid sample; measuring the response of the flexural mechanical resonator; and calculating a parameter of interest from the measured response of the flexural mechanical resonator.
 9. The method of claim 8, further comprising: determining the density of a fluid; and inter-calibrating two pressure gauges in the tool based on the density of the fluid and a distance between the gauges.
 10. The method of claim 8, further comprising: connecting an electrical lead to an electrode on the flexural mechanical resonator; and coating the connection of the wire to the electrode with epoxy to prevent corrosion.
 11. The method of claim 8, further comprising: recessing the mechanical flexural resonator out of a flow path for the formation sample.
 12. The method of claim 8, further comprising: calculating a density for the formation fluid sample.
 13. The method of claim 8, further comprising: calculating a viscosity for the formation fluid sample.
 14. The method of claim 8, further comprising: calculating a dew point for the formation fluid sample.
 15. The method of claim 8, further comprising: calculating a bubble point for the formation fluid sample.
 16. The method of claim 8, further comprising: determining when a parameter of interest for the formation fluid sample has leveled off to indicate that the sample has been cleaned up.
 17. The method of claim 8, further comprising: determining the onset of asphaltene precipitation.
 18. The method of claim 8, further comprising: determining the dielectric constant for the formation sample.
 19. The method of claim 9, further comprising: Using the intercalibrated pressure gauges to measure the density of conductive fluid.
 20. The method of claim 9, further comprising: Using intercalibrated pressure gauges to measure the density of fluids that cannot be measured directly with the tuning fork.
 21. The method of claim 9, further comprising: Using intercalibrated pressure gauges to measure the viscosity of fluids in a flow line knowing the flow rate and pressure drop between the intercalibrated pressure gauges. 